<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:composite="http://java.sun.com/jsf/composite"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:h="http://java.sun.com/jsf/html">
	<composite:interface>
		<composite:attribute name="caption"/>
		<composite:attribute name="blog"/>
		<composite:attribute name="disabled"/>
		<composite:facet name="commands"/>
	</composite:interface>
	<composite:implementation>
		<h:form>
			<table>
				<caption>#{cc.attrs.caption}</caption>	
				<tr>
					<th>Name</th>
					<td>
						<h:inputText value="#{cc.attrs.blog.name}"									 
									 disabled="#{cc.attrs.disabled}"/>
					</td>
				</tr>
				<tr>
					<th>Description</th>
					<td>
						<h:inputTextarea value="#{cc.attrs.blog.description}"
										 disabled="#{cc.attrs.disabled}"/>
					</td>
				</tr>
				<tr>
					<th></th>
					<td>
						<composite:renderFacet name="commands"/>
					</td>
				</tr>
			</table>
			<h:messages/>
		</h:form>
	</composite:implementation>
</html>
